// elementalStarDamageFactor.module.js

// 计算元素星级伤害系数


// [[file:~/literate-programming/soul-hunter-awakening-damage-calculator-web-edition.org::*elementalStarDamageFactor.module.js][elementalStarDamageFactor.module.js:1]]
function calculate(star){
    switch(star){
        case 0:
            return 0
        case 0.5:
            return 0.5
        case 1:
            return 0.95
        case 2:
            return 1.5
        case 3:
            return 2
    }
}

export{calculate}
// elementalStarDamageFactor.module.js:1 ends here
